package com.ruantu.clothing.entity;

import java.util.List;
import java.util.Map;

public class Permission {
	private int id;
	private String text;
	private List<Permission> children;
	private boolean checked=false;
	private String state="open";
	private Map<String,Object> attributes;
	
	public void setAttributes(Map<String, Object> attributes) {
		this.attributes = attributes;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public List<Permission> getChildren() {
		return children;
	}
	public void setChildren(List<Permission> children) {
		this.children = children;
	}
	public Map<String, Object> getAttributes() {
		return attributes;
	}
	
	
	

}
